From: Brion Vibber Date: Tue, 17 Jul 2007 19:16:53 +0000 (+0000) Subject: * (bug 10572) Force refresh after clearing visitation timestamps on watchlist X-Git-Tag: 1.31.0-rc.0~52042 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=1a08226bcc9ad55b3f6e02bd7fea95420b9cf480;p=lhc%2Fweb%2Fwiklou.git * (bug 10572) Force refresh after clearing visitation timestamps on watchlist --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 2056047e80..22592417df 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -310,6 +310,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 10608) PHP notice when installing with PostgreSQL * (bug 10615) Fix for transwiki import when CURL not available * (bug 8054) Return search page for empty search requests with ugly URLs +* (bug 10572) Force refresh after clearing visitation timestamps on watchlist == API changes since 1.10 == diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php index b01bc0186f..924edc27bf 100644 --- a/includes/SpecialWatchlist.php +++ b/includes/SpecialWatchlist.php @@ -47,6 +47,8 @@ function wfSpecialWatchlist( $par ) { $uid = $wgUser->getId(); if( $wgEnotifWatchlist && $wgRequest->getVal( 'reset' ) && $wgRequest->wasPosted() ) { $wgUser->clearAllNotifications( $uid ); + $wgOut->redirect( $specialTitle->getFullUrl() ); + return; } $defaults = array(